import request from '@/utils/request'

export function completions(data) {
	return request({
		url: 'https://api.siliconflow.cn/v1/chat/completions',
		method: 'post',
		headers: {
			"accept": "application/json",
			Authorization: 'Bearer sk-frbhguggwrzqtcxqpvxahbldwdmxytfcwrwxhwobogqjvrsp'
		},
		responseType: 'stream',
		data
	})
}
